﻿using ServiceStack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model.ViewModels
{
    public class V_ReturnGoods: ReturnGoods
    {
        public List<string> ImgList { get { return Imgs.FromJson<List<string>>(); } }

        public string SatusDes { get { return Satus.ToString(); } }

        public string ReturnResultDes {
            get {
                if (ReturnResult.HasValue)
                {
                    return ReturnResult.ToString();
                }
                else
                {
                    return "";
                }
            }
        }

        public List<OrderDetail> OrderDetailList { get; set; }

        public decimal ProductPrice { get; set; }

        public decimal OrderPrice { get; set; }

        public decimal PostageMoney { get; set; }

        public OrderDetail orderDetail { get; set; }

        public decimal RebatePrice { get; set; }
    }
}
